package com.cll.pmis.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.cll.pmis.entity.Drug;
import com.cll.pmis.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenliangliang
 * @since 2018-06-18
 */
public interface OrderMapper extends BaseMapper<Orders> {

    List<Orders> queryListByPage(@Param("userId") Integer userId, Page page);

    List<Drug> queryOrderDetail(@Param("orderId") Integer orderId);
}
